<?xml version="1.0" encoding="UTF-8" ?>
 
<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
       "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>

	<!-- Template Completo -->
    <definition name="baseLayout" template="/layoutBase.jsp">
    	<put-attribute name="title" value="WeiWat by ApiConsulting" />
        <put-attribute name="header" value="/component/header.jsp" />
        <put-attribute name="content" value="/component/content.jsp" />
        <put-attribute name="sidebar" value="/component/sidebar.jsp" />
        <put-attribute name="footerContent" value="/component/footerContent.jsp" />
    </definition>
    
    <!-- Template Semplice -->
    <definition name="simpleLayout" template="/layoutSimple.jsp">
    	<put-attribute name="title" value="WeiWat by ApiConsulting" />
        <put-attribute name="header" value="/component/header.jsp" />
        <put-attribute name="logo" value="/component/logo.jsp" />
        <put-attribute name="bannerWrapper" value="/component/bannerWrapper.jsp" />
    </definition>
    
    <!-- Template Completo Camion-->
    <definition name="baseCamionLayout" template="/layoutBaseCamion.jsp">
    	<put-attribute name="title" value="WeiWat by ApiConsulting" />
    	<put-attribute name="headerCamion" value="/component/headerCamion.jsp" />
        <put-attribute name="header" value="/component/header.jsp" />
        <put-attribute name="content" value="/component/content.jsp" />
        <put-attribute name="sidebar" value="/component/sidebar.jsp" />
        <put-attribute name="footerContent" value="/component/footerContent.jsp" />
    </definition>

<!-- PAGE DI BENVENUTO -->
    <definition name="welcome" extends="baseLayout">
    	<put-attribute name="title" value="Welcome - WeiWat" />
    	<put-attribute name="content" value="/content/CntWelcome.jsp" />
        <put-attribute name="header" value="/component/headerMenu.jsp" />
    </definition>

<!-- PAGE STATICA LINKS -->    
    <definition name="links" extends="baseLayout">
    	<put-attribute name="title" value="Link - WeiWat" />
        <put-attribute name="content" value="/content/CntLink.jsp" />
        <put-attribute name="header" value="/component/headerMenu.jsp" />
    </definition>
    
<!-- PAGE CHARTS -->     
    <definition name="charts" extends="baseLayout">
    	<put-attribute name="title" value="Charts - WeiWat" />
        <put-attribute name="content" value="/content/CntCharts.jsp" />
        <put-attribute name="header" value="/component/headerMenu.jsp" />
    </definition>

</tiles-definitions>